<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'showlocation.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <form action="<%=path%>/location/updatelocation" method="post">
    	<table border="1px solid red" align="center" width="40%">
    		<tr>
    			<td>id <input type="hidden" value="${location.id}" name="id"></td>
    			<td><input type="text" disabled="disabled"  value="${location.id}" style="width: 100%;"></td>
    		</tr>
    		<tr>
    			<td>小区名</td>
    			<td><input type="text" disabled="disabled" value="${location.address}" style="width: 100%;"></td>
    		</tr>
    		<tr>
    			<td>地址</td>
    			<td><input type="text" disabled="disabled" value="${location.detailedAddress}" style="width: 100%;"></td>
    		</tr>
    		<tr>
    			<td>价格:按分设置,如30元=3000分</td>
    			<td><input type="text" value="${location.moeny}" name="moeny" style="width: 100%;"></td>
    		</tr>
    		<tr>
    			<td>消息推送:默认0关闭，1开启</td>
    			<td><input type="text" value="${location.messagepush}" name="messagepush" style="width: 100%;"></td>
    		</tr>
    		<tr align="center">
    			<td colspan="2"><input type="submit" value="修改" style="width: 100px; height: 30px;"></td>
    		</tr>
    	</table>
    </form>
  </body>
</html>
